<?php
include "konek.php";
session_start();
if(isset($_SESSION['username']))
{
	$username=$_SESSION['username'];
}
$judul=$_POST['judul'];
$isi=$_POST['area'];
$sql= mysql_query("insert into posting (judul, author, isi) values ('$judul', 'ADMIN','$isi')")or die(mysql_error()); 
header('location:../posting.php');
?>